package com.springsecurity.demo.service.impl;

import com.springsecurity.demo.mapper.SysUserMapper;
import com.springsecurity.demo.model.entity.SysUser;
import com.springsecurity.demo.model.entity.Users;
import com.springsecurity.demo.service.ISysUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户表 服务实现类
 * </p>
 *
 * @author fredyc
 * @since 2024-09-18
 */
@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> implements ISysUserService {

    @Override
    public List<SysUser> getUserInfo() {
        List<SysUser> sysUsers = super.baseMapper.selectList(null);
        return sysUsers;
    }
}
